﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lg.Core.Job
{
    public class JobTask
    {
        /// <summary>
        /// 任务名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 任务执行委托程序
        /// </summary>
        public  Action? JobFunction { get; set; }
        /// <summary>
        /// 任务状态 0空闲 1执行或暂停(不可执行的状态)
        /// </summary>
        public int? State { get; set; }

    }
}
